package org.mzx.shortLink.adminn.dto.Response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.mzx.shortLink.adminn.common.Serializer.PhoneDesensitizationSerializer;

import java.io.Serializable;

@Data
public class UserDto implements Serializable {

    private String username;

    private String realName;

    @JsonSerialize(using = PhoneDesensitizationSerializer.class)
    private String phone;

    private String mail;
}
